<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style>
        /* 媒体查询   查询设备的宽度 */
        @media screen and (min-width:400px) and (max-width:800px) {
            body {
                background-color: #f00;
            }
        }

        @media screen and (min-width:800px) and (max-width:1000px) {
            body {
                background-color: #ff0;
            }
        }

        /* 保证最小320 */
        /* PC端有版心 */
    </style>
</head>

<body>

</body>

</html>